home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / QuickDraw3D 1.6 SDK / Mac SampleCode Previous / Geometry Samples- Mac / GeometryTest / GTShell.h < prev    next >
Encoding:
Text File  |  1999-05-18  |  1.5 KB  |  96 lines  |  [TEXT/MPCC]

  1. // smallshell.h - public interface for the shell
  2. //
  3. // Modification History:
  4. //
  5. //    01/01/95    nick    created this file from other stuff
  6.  
  7. #ifndef _SMALLSHELL_H_
  8. #define _SMALLSHELL_H_
  9.  
  10.     
  11. //-------------------------------------------------------------------------------------------
  12. //
  13. enum {
  14.     mApple = 128,
  15.     mFile,
  16.     mEdit,
  17.     mGeometry
  18. } ;
  19.  
  20. enum {
  21.     iAbout = 1
  22. } ;
  23.  
  24. enum {
  25.     iNew = 1,
  26.     iOpen,
  27.     iUnused1,
  28.     iClose,
  29.     iSave,
  30.     iSaveAs,
  31.     iRevert,
  32.     iUnused2,
  33.     iPageSetup,
  34.     iPrint,
  35.     iUnused3,
  36.     iQuit
  37. } ;
  38.  
  39. enum { 
  40.     iUndo,
  41.     iUnused4,
  42.     iCut,
  43.     iCopy,
  44.     iPaste,
  45.     iClear,
  46.     iUnused5,
  47.     iShowClip
  48. } ;
  49.  
  50. enum {
  51.     iMarker = 1,
  52.     iPoint,
  53.     iLine, 
  54.     iPolyline,
  55.     iTriangle,
  56.     iPolygon,
  57.     iGeneralPolygon,
  58.     iTrigrid,
  59.     iBox,
  60.     iMesh,
  61.     iNurbCurve,
  62.     iNurbPatch,
  63.     iTorus,
  64.     iCylinder
  65. } ;
  66.     
  67.  
  68. //-------------------------------------------------------------------------------------------
  69. //
  70. enum {
  71.     iUsePictPalette = 1
  72. } ;
  73.  
  74. //-------------------------------------------------------------------------------------------
  75. // globals - defined in SmallShell.c
  76. extern Boolean gQuitFlag ;
  77.  
  78.  
  79. //-------------------------------------------------------------------------------------------
  80. // constants - defined in SmallShell.c
  81. extern const RGBColor    kRGBBlack ;
  82. extern const RGBColor    kRGBWhite ;
  83.  
  84. // function prototypes
  85.  
  86.  
  87. WindowPtr     DoCreateBufferedWindow(    Rect *theRect, 
  88.                                     const Ptr theStorage, 
  89.                                     const CTabHandle theWindowCTab,
  90.                                     const short theDepth, 
  91.                                     const Str255 theTitle ) ;
  92. short         HiWrd(long aLong) ;
  93. short         LoWrd(long aLong) ;
  94.  
  95.  
  96. #endif